//
//  UserCenter.m
//  CWeekly
//
//  Created by  on 12-6-13.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "UserCenter.h"

@implementation UserCenter
static UserCenter *usercenter=nil;

@synthesize username,userEmail,password,userId,isEnable;
-(void)dealloc{
    [userEmail release];
    [userId release];
    [isEnable release];
    [username release];
    [password release];
    [super dealloc];
}

+(UserCenter*)defaultUser{
    @synchronized(self) {
		if (usercenter == nil) {
			[[self alloc] init]; 
		}
	}
	return usercenter;

}

- (id) init
{
	if ( [super init] ) {
		usercenter = self;
	}
	
	return self;
}

@end
